<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%--
  ~ Copyright (c) 2016. 恒昌互联网运营中心.
  --%>

<script type="text/javascript">
	function changeMenu(id){
		$("li").each(function(){
			$(this).removeClass("active")
		  });
		$("#"+id).addClass("active");
	}
</script>
<div class="row">
	<div class="col-sm-2 col-md-1 sidebar">
		<ul class="nav nav-sidebar">
			<li class="${D}{console_flag}"><a href="<%=request.getContextPath()%>/console/main">监控台</a></li>
			<li class="${D}{stat_flag}"><a href="<%=request.getContextPath()%>/stat/main">统计报表</a></li>
			<c:if test="${D}{sessionScope.user=='admin'}">
				<li class="${D}{setting_flag}"><a href="<%=request.getContextPath()%>/setting/main">系统配置</a></li>
			</c:if>
		</ul>
		<ul class="nav nav-sidebar">
			<c:if test="${D}{sessionScope.user=='admin' || sessionScope.user=='dlr' }">
			<li><a href="${log_sys_url}" target="_blank">日志平台</a></li>
			<li><a href="${ice_console_url}" target="_blank">ICE控制平台</a></li>
			<li><a href="${redis_console_url}" target="_blank">Redis集群监控台</a></li>
			<li><a href="${rocketmq_console_url}" target="_blank">MQ监控平台</a></li>
			<li><a href="${task_sys_url}" target="_blank">任务调度管理平台</a></li>
			<li><a href="${file_sys_url}" target="_blank">文件系统监控平台</a></li>
			</c:if>
		</ul>
	</div>
</div>